Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.multi.tenant.actions--filters

This contribution is part of XML component org.nuxeo.ecm.multi.tenant.actions inside nuxeo-multi-tenant-5.8.jar

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter id="allowForTenantConfig">
          <rule grant="true">
            <facet>TenantConfig</facet>
          </rule>
        </filter>
  • <filter id="denyForTenantConfig">
          <rule grant="false">
            <facet>TenantConfig</facet>
          </rule>
        </filter>
  • <filter id="tenantAdministrators">
          <rule grant="true">
            <condition>#{currentUser.administrator}</condition>
            <condition>#{currentUser.isMemberOf('powerusers')}</condition>
          </rule>
        </filter>
  • <filter id="readOnlyDirectory">
          <rule grant="true">
            <condition>#{multiTenantActions.isReadOnlyDirectory(directoryName)}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter id="allowForTenantConfig">
      <rule grant="true">
        <facet>TenantConfig</facet>
      </rule>
    </filter>

    <filter id="denyForTenantConfig">
      <rule grant="false">
        <facet>TenantConfig</facet>
      </rule>
    </filter>

    <filter id="tenantAdministrators">
      <rule grant="true">
        <condition>#{currentUser.administrator}</condition>
        <condition>#{currentUser.isMemberOf('powerusers')}</condition>
      </rule>
    </filter>

    <filter id="readOnlyDirectory">
      <rule grant="true">
        <condition>#{multiTenantActions.isReadOnlyDirectory(directoryName)}</condition>
      </rule>
    </filter>

  </extension>